<h1>Maintenance</h1>
                
  <div class="panel-group panel-accordion" id="accordion">
<?php
  $i = 1;
  foreach ($query->result() as $row) 
  {

?>
<div class="panel drop-item">
    <div class="panel-heading collapsed" data-toggle="collapse" data-parent="#accordion" data-target="#sample<?php echo $i?>">
        <h2 class="panel-title accordion-toggle">
        <?php  echo $row->title ?>
        </h2>
    </div>
    <div id="sample<?php echo $i?>" class="panel-collapse collapse">
        <div class="panel-body">
            <?php echo $row->content ?>
        </div>
    </div>
</div>

<?php
  $i++;
  }
?>
  </div>
